from rest_framework.views import APIView
from django.shortcuts import HttpResponse

class IndexView(APIView):
    def get(self, request, format=None):
        return HttpResponse("welcome")

